﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZF.BLL;
namespace ZF.WS.Person.space
{
    public partial class balance : BLL.Page.GMPage
    {
        public Model.US_Member Member { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {
            using (var dc = SiteInfo.CreateDBDataContext())
            {
                  Member = dc.US_Member.FirstOrDefault(p => p.MemberId == CurrentUser.MemberId);
                if (Member == null)
                    throw WarnFactory.CreateWarn(GCELibrary.Current.WarnCode.ReocrdNoFind);
            }
        }
    }
}
